package main

import "fmt"
import "tempconv/suibian"


a := suibian.Celsius

const (
	AbsoluteZeroC suibian.Celsius = -273.15
	BoilingF      suibian.Fahrenheit = 100
)

func (c suibian.Celsius) String() string    { return fmt.Sprintf("%g°C", c) }
func (f suibian.Fahrenheit) String() string { return fmt.Sprintf("%g°F", f) }

func main(){
	fmt.Println(suibian.CToF(AbsoluteZeroC))
	fmt.Println(suibian.FToC(BoilingF).String())
}